package com.adjaisd.scarecrow.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author adjaisd
 * @since 2022-03-27
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName("sc_device_status")
@ApiModel(value="DeviceStatus对象", description="")
public class DeviceStatus implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "设备id")
    private Long id;

    @ApiModelProperty(value = "是否报警")
    private Boolean alarm;

    @ApiModelProperty(value = "报警名称")
    private String alarmName;

    @ApiModelProperty(value = "报警级别")
    private Integer alarmLevel;

    @ApiModelProperty(value = "是否在线")
    private Boolean online;

    @ApiModelProperty(value = "标签")
    private String tag;

    @ApiModelProperty(value = "开关状态")
    private Boolean status;


}
